Developer Documentation
PATH  WebObjects 4.5 Documentation > Getting Started With Direct to Java Client

   

What's in the Template Project?

The DirectToJavaClientTemplate project is a normal Java Client project. It has the typical Application, Session, and Main classes for the server side application. The client side subproject, however, is empty. It has no interface controller or nib files, because Direct to Java Client application's generate their user interfaces dynamically.

The project's Main.wo contains a WOJavaClientApplet which is configured in a special way. It's width and height are set to 0, and the applicationClassName is set to "com.apple.client.eogeneration.EODynamicApplication". The application class is important because it's responsible for initiating the user interface generation process.

The Resources suitcase of the project contains a user.d2wmodel file. The Direct to Java Client Assistant uses this file to store user interface configuration information.


© 1999 Apple Computer, Inc. – (Draft. Last updated 05 Jan 00)